<?php
/*$number = input('get.number');
$line = 1;
while($line <= $number){
    $empty_pos = $star_pos = 1;
    $empty = $number - $line;
    $star = 2*$line-1;
    while ($empty_pos<=$empty){
        echo '&nbsp;';
        ++$empty_pos;
    }
    while ($star_pos<=$star){
        echo '*';
        ++$star_pos;
    }
    echo '<br>';
    ++$line;
}*/

/*header('Content-type:text/html;charset=utf-8');
$name = '小明';
$score = 85;
if (is_int($score) || is_float($score)) {
    if ($score >= 90 && $score <= 100){
        $str = 'A级';
    }elseif($score >= 80 && $score < 90){
        $str = 'B级';
    }elseif($score >= 70 && $score < 80){
        $str = 'C级';
    }elseif($score >= 60 && $score < 70){
        $str = 'D级';
    }elseif($score >= 0 && $score < 60){
        $str = 'E级';
    }else{
        $str = '学生成绩范围必须在0~100！';
    }
   } else {
    $str = '输入学生成绩不是数值！';
}echo $str;*/

